Xbasic

SCRIPT_SCHEDULE_TIME_GET Function

Syntax

Value as T = SCRIPT_SCHEDULE_TIME_GET(N slot)

Arguments

slotNumeric

A value between 1 and 10 inclusive that specifies which schedule timer to use. There are ten timers available.

Description

Return the scripts time (if one is scheduled for the slot).

Discussion

The SCRIPT_SCHEDULE_TIME_GET() function returns the play back time of the script that is associated with Timer. Timer is a value between 1 and 10. The script must previously have been scheduled to play back using the SCRIPT_SCHEDULE()command.

Schedules the script 'Foo2' to play at 8:30 PM using timer 2.

script_schedule("Foo2", "20:30", 2)

Determines play back time of the script associated with timer 2.

time = script_schedule_time_get(2)

Limitations

Desktop applications only.

See Also